Evaluate@Simplify[InverseCDF[dist1, q]

 Evaluate@Simplify[InverseCDF[dist1, q]