England fast bowler Brydon Carse has been dropped from the squad for the second Test against Pakistan following an investigation into an incident at a club in Derby.