Council to back Grantham courthouse demolition for £3.5m care home