There’s an unexpected health benefit to being on the Pill, new study suggests