The current version of the rocket is called "block 5". Those two boosters weren't block 5 boosters. Presumably the reason to spend resources to get them to safe landing was to learn things that will be useful in future launches; for example, those two boosters had enough ignition fluid to land successfully this time, but the main first stage did not.