NHS to divert thousands more patients away from hospitals to slash waiting lists