The Welsh Ambulance Service is changing how it responds to 999 emergency calls.