The outcome was a setback for the Shiv Sena–NCP alliance, which was expected to secure power based on its numbers