The veil of ignorance can favour biological cooperation