A failed Santa Claus rally dashes hope for a ‘January Trifecta’ – but stocks are still in shape for gains in 2024