why Rehoboam stopped war