New research has clarified the link between the pill and depression – but it’s not all bad news