BOSTON — Vertex Pharmaceuticals Inc. on Tuesday reported a loss of $41.8 million in its third quarter. On a per-share basis, the Boston-based company said it had a loss of 17 cents. Earnings, adjusted for stock option expense and non-recurring costs, were 16 cents per share. The results fell short of Wall Street expectations. The