The city of Boston spent $431,000 on overtime costs to deploy 629 police officers, 48 firefighters, and a raft of other workers for the funeral of Senator Edward M. Kennedy, according to information released to the Globe yesterday under a public records request. City officials said a federal grant for “urban areas security’’ would cover $400,000 of the cost. According to the city’s tabulation, Boston spent $359,714 on 629 police officers, $36,748 on 48 firefighters, $29,572 on 55 public health and emergency medical workers, $4,350 on 27 transportation workers, and $1,293 on six public works employees. The city workers were...