Shinzo Abe faced steep opposition to his push for a more militaristic Japan.