Duke rally falls short in 52-45 loss to Miami