An extended finite element method for modelling dislocation interactions with inclusions