More than half of ambulance patients at Royal United Hospitals Bath had to wait over an hour before being admitted.