A world-first Australian study has upended a decades-long approach to diagnosing and managing peanut allergies, allowing many babies to be cleared of the condition.