Draft law to undo Ireland’s triple lock system ready to be brought to Cabinet