Police leaders celebrated the bill, saying it could help alleviate the police recruiting crisis