Proposals to convert a former ex-servicemen’s club in Edinburgh into six serviced apartments have been approved, despite objections from local residents.