An ambulance trust has exited special measures