Four new homes have been approved for the site of a now-closed bank in a Leeds market town.