A popular Ballycastle ice cream parlour is to be demolished and replaced with a new one, along with four apartments on the upper floor.