Revised proposals for retirement flats on the site of a now-demolished police station have been approved.