The cabinet secretary for health and social care has announced £28m in funding to tackle the longest waits on the NHS