Plans approved to demolish Little Ouseburn pub for homes