Resolution cites incomplete brain development, uneven application of punishment to ‘late adolescents’