Police: man broke into ex-girlfriend's home