French police officer charged with investigating massacre takes own life