Policeman attempts to kill girlfriend before committing suicide