A court in Venezuela has ordered four people detained for their alleged involvement in the assassination of a leading government prosecutor .