A Texas court has thrown out a defamation countersuit involving Australian mining magnate Andrew Forrest and an oil giant.