Three police officers were killed by a fellow officer at police headquarters in the city of Ponce, Puerto Rico, investigators said Monday.