Path paved for formation of new BJP government in three states