Boston Scientific swings to Q1 loss on legal charges