Government drops doctor who says gender given at birth