The remedies, procedures, and rights set forth in section 717 of the Civil Rights Act of 1964 (42 U.S.C. 2000e
–16), including the application of sections 706(f) through 706(k) (42 U.S.C. 2000e
–5(f) through (k)) (and the application of section 706(e)(3) (42 U.S.C. 2000e
–5(e)(3)) to claims of discrimination in compensation), shall be available, with respect to any complaint under section 791 of this title
, to any employee or applicant for employment aggrieved by the final disposition of such complaint, or by the failure to take final action on such complaint. In fashioning an equitable or affirmative action remedy under such section, a court may take into account the reasonableness of the cost of any necessary work place accommodation, and the availability of alternatives therefor or other appropriate relief in order to achieve an equitable and appropriate remedy.