Followers of ‘sell in May and go away’ have lost out on a stock rally