Andre Agassi says it was the right decision for Andy Murray to miss Wimbledon as the Briton needs to be 100 fit before returning.