The strong halfspace theorem for minimal surfaces