A legislative impasse and border fighting force Thailand into an early election under mounting public pressure.