Japan lawmakers approve contentious bills to bolster military presence abroad