Controversial plans for the construction of a new care home alongside 39 homes in Abingdon have been permitted, despite fears over the impact on services.