Plans to build 11 new flats on the site of an Edinburgh nursery destroyed by a fire three years ago have been approved despite 12 objections from locals.