That will work but make sure you allow plenty of time in DUB for the connection back to LON. If you miss the flight you are back to square one!
It is highly unlikely that they will chase you for the difference if you don't use the last LON-DUB leg. The possibility exists but is pretty remote in a case like yours. If it were me, I would probably take the chance.