Mark Allen advanced to the World Snooker Championship semi-finals by defeating Barry Hawkins 13-11 at the Crucible Theatre in Sheffield.