The Irish Government has won a vote of confidence in the speaker of the parliament.