Plans to demolish a Ballymoney bar and replace it with five apartments have been approved by Causeway Coast and Glens Council.