The yen remained firm against the US dollar and other major currencies, despite Japan’s ruling coalition failing to secure a majority in the upper house.