Police hunt for remand prisoner released in error in west Lo