Melting curve of tantalum from first principles