The two parties that have dominated Irish politics for a century have fallen just short of the combined number of TDs required for a Dail majority.