The Welsh Ambulance Service said more than 340 calls were waiting to be answered at the time a critical incident was declared last month