AAP loses ground, fails to emerge as a third front in Punjab