Legislature approves municipal retirement funding bills