Mohammad Amir allowed to play domestic cricket